//
//  SecretRoomAppDelegate.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/2/54 BE.
//  Copyright 2554 App Tree. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SecretRoomAppDelegate : NSObject <UIApplicationDelegate> {
    BOOL gLogging;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

- (void)performCheckConnectionWithSecretRoomWithUsername:(NSString *)username password:(NSString *)password;

@end
